package com.fengze.business.service;

import java.util.List;
import com.fengze.business.domain.ReceivePayment;

/**
 * 收款Service接口
 * 
 * @author lug
 * @date 2024-12-10
 */
public interface IReceivePaymentService 
{
    /**
     * 查询收款
     * 
     * @param id 收款主键
     * @return 收款
     */
    public ReceivePayment selectReceivePaymentById(Long id);

    /**
     * 查询收款列表
     * 
     * @param receivePayment 收款
     * @return 收款集合
     */
    public List<ReceivePayment> selectReceivePaymentList(ReceivePayment receivePayment);

    /**
     * 新增收款
     * 
     * @param receivePayment 收款
     * @return 结果
     */
    public int insertReceivePayment(ReceivePayment receivePayment);

    /**
     * 修改收款
     * 
     * @param receivePayment 收款
     * @return 结果
     */
    public int updateReceivePayment(ReceivePayment receivePayment);

    /**
     * 批量删除收款
     * 
     * @param ids 需要删除的收款主键集合
     * @return 结果
     */
    public int deleteReceivePaymentByIds(Long[] ids);

    /**
     * 删除收款信息
     * 
     * @param id 收款主键
     * @return 结果
     */
    public int deleteReceivePaymentById(Long id);
}
